# @Time    :2025/4/25 11:17
s="dog cat cat dog"
#print(s.split())
s1=s.split()
print(len(s1))
